package com.member.shop.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import java.util.List;

/**
 * @author luoyun
 * @Description
 * @date 2024/02/02
 **/
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Data
public class ApplyAfterSaleDto {

    /**
     * 申请id
     */
    private  Long id;
    /**
     * 订单ID(支持多个订单)
     */
    @NotBlank(message = "订单ID不能为空")
    private String orderId;

    /**
     * 商品Json
     * {
     * 	"goodsid": 1,
     * 	"number": 1,
     * 	"goodsName":"测试商品",
     * 	"cover":"https://heyicdn.wxheyi.cn/admin/2025/2/21/8bfabdaac5104e788362e62d228aa59c.png"
     * }
     */
    private String goodsInfo;

    /**
     * 申请凭证图片
     */
    private String voucherImages;

    /**
     * 申请补充描述及凭证
     */
    private String applyReason;

    /**
     * 退货原因
     */
    @NotBlank(message = "退货原因不能为空")
    private String returnReason;

    /**
     * 备注
     */
    private String remark;

    /**
     * 订单编号
     */
    private String orderCode;

}
